//
//  Constants.h
//  GlodonCaulator
//
//  Created by 何锦坤 on 16/2/17.
//  Copyright © 2016年 何锦坤. All rights reserved.
//

#ifndef Constants_h
#define Constants_h


#endif /* Constants_h */
int dataprecision;
double systemkeyheight;
int firstload113;


//- (void)baiduMobSspDidReceiveAd:(BaiduMobSspBannerView *)baiduMobSspBannerView
//{
//    NSLog(@"baiduMobSspDidReceiveAd");
//}
//- (void)baiduMobSspDidFailToReceiveAd:(BaiduMobSspBannerView *)baiduMobSspBannerView
//{
//    loadAD = NO;
////    dispatch_async(dispatch_get_main_queue(), ^{
//////        if (bannerAdView) {
//////            [bannerAdView removeFromSuperview];
//////            bannerAdView = nil;
//////        }
////        MenuView.frame = CGRectMake(0, STATUS_AND_NAVIGATION_HEIGHT, SCREEN_WIDTH, SCREEN_HEIGHT-TABBARHEIGHT-STATUS_AND_NAVIGATION_HEIGHT);
////        MenuView.collectionMenu.frame = CGRectMake(0, 0, SCREEN_WIDTH, MenuView.frame.size.height);
////    });
//    NSLog(@"baiduMobSspDidFailToReceiveAd");
//}
//- (void)baiduMobSspPresent:(BaiduMobSspBannerView *)baiduMobSspBannerView
//{
//
//    loadAD = YES;
//    if (bannerAdView) {
//        [UIView beginAnimations:@"BannerSlide" context:nil];
//        bannerAdView.frame = CGRectMake(0,
//                                       SCREEN_HEIGHT -TABBARHEIGHT-adheight,
//                                       SCREEN_WIDTH,
//                                       adheight);
//
//        MenuView.frame = CGRectMake(0, STATUS_AND_NAVIGATION_HEIGHT, SCREEN_WIDTH, SCREEN_HEIGHT-TABBARHEIGHT-STATUS_AND_NAVIGATION_HEIGHT-adheight);
//        MenuView.collectionMenu.frame = CGRectMake(0, 0, SCREEN_WIDTH, MenuView.frame.size.height);
//        UIButton *closed = [self.view viewWithTag:201604291];
//        if (!closed) {
//            UIButton *closead = [UIButton buttonWithType:UIButtonTypeCustom];
//            [closead setTitle:@"关闭" forState:UIControlStateNormal];
//            [closead setTitleColor:RGB(255, 255, 255) forState:UIControlStateNormal];
//            closead.titleLabel.font = [UIFont systemFontOfSize: 9.0];
//            closead.backgroundColor = [UIColor blackColor];
//            [closead addTarget:self action:@selector(FcloseAD:) forControlEvents:UIControlEventTouchUpInside];
//            closead.tag = 201604291;
//            closead.frame = CGRectMake(300, 0, 18, 8);
//            [bannerAdView addSubview:closead];
//        }
//
//        [UIView commitAnimations];
//    }else{
//        [self addBaduADView];
//    }
//
//
//    NSLog(@"baiduMobSspPresent");
//}